From 4473c6e6e69987da6c47f536440b856bb697893e Mon Sep 17 00:00:00 2001 From: David Bauer Date: Mon, 4 Apr 2022 16:27:04 +0200 Subject: [PATCH] measurement: add missing timeout-reset If the timeout is not reset here, it will expire based on its initial creation regardless whether it was updated in the meantime. Signed-off-by: David Bauer --- measurement.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/measurement.c b/measurement.c index c78aae8..0c7cde2 100644 --- a/measurement.c +++ b/measurement.c @@ -85,6 +85,9 @@ usteer_measurement_report_add(struct sta *sta, struct usteer_node *node, mr->rsni = rsni; mr->rcpi = rcpi; + /* Reset timeout */ + usteer_timeout_set(&tq, &mr->timeout, config.measurement_report_timeout); + return mr; } -- 2.30.2